<?php
Route::namespace('Admin')->group(function (){
    //登录模块路由
    Route::any('login','LoginController@login')->name('login');
    Route::get('logOut','LoginController@logout')->name('logout');


    //登录中间件
    Route::middleware('login')->group(function (){
        //后台之后

    });
});